package org.zebra.monitoring.config;

import de.codecentric.boot.admin.server.config.AdminServerAutoConfiguration;
import de.codecentric.boot.admin.server.config.AdminServerMarkerConfiguration;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Import;

@AutoConfiguration(before = {AdminServerAutoConfiguration.class})
@ConditionalOnProperty(value = "zebra.monitor.admin.enabled", havingValue = "true")
@Import({AdminServerMarkerConfiguration.class})
public class MonitorAdminConfig {}
